package com.gree.elasticsearch.dao;

import com.gree.elasticsearch.domain.Foo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * 总有刁民想害朕，请叫我小花狗
 * create by zxw on 2020/5/20
 */
public interface FoolRepository extends JpaRepository<Foo, Integer> {
    Optional<Foo> findById(Integer id);
}
